<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>西山居游戏</title>
<meta name="keywords" content="西山居,西山居游戏,西山居概念官网,剑网3,剑侠世界,招聘" /> 
<meta name="Description" content="西山居是国内老牌知名游戏公司，以游戏的方式，创造快乐，传递快乐。" />
<link rel="stylesheet" href="<%=basePath %>/css/common.css" />
<script src="<%=basePath %>/js/jquery.js" ></script>
<script src="<%=basePath %>/js/brush.js" type="text/javascript"></script>
<link href="<%=basePath %>/css/shCore.css" rel="stylesheet" /> 
<link href="<%=basePath %>/css/shThemeDefault.css" rel="stylesheet" /> 
<link rel="stylesheet" href="<%=basePath %>/css/about.css" />
<script src="<%=basePath %>/js/jquery.mCustomScrollbar.concat.min.js"></script>
	<script>
	$(document).ready(function(){
		SyntaxHighlighter.all();
	});
	</script>  
<style type="text/css">
.articleTitle {
	width: 600px;
	height: 40px;
	border: 0px solid red;
	text-align: center;
	line-height: 40px;
	left: 50%;
	margin-left: auto; margin-right : auto; margin-top : 30px;
	color: #000000;
	font-size: 20px;
	font-family: "\5FAE\8F6F\96C5\9ED1";
	font-weight:bolder;
	margin-top: 30px;
	margin-right: auto;
}

.articleDate {
	width: 600px;
	height: 30px;
	border: 0px solid red;
	text-align: center;
	line-height: 30px;
	margin-left: auto; margin-right : auto;
	margin-top: 10px;
	color: #000000;
	font-size: 16px;
	font-family: "\5FAE\8F6F\96C5\9ED1";
	margin-right: auto;
}

.articleContent {
	width: 900px;
	height: auto;
	border: 0px solid red;
	left: 50%;
	margin-left: auto; margin-right : auto;
	color: #000000;
	font-size: 16px;
	font-family: "\5FAE\8F6F\96C5\9ED1";
	margin-right: auto;
}

.articlecenter {
	width: 1004px;
	heigth: auto;
	border: 0px solid black;
	position: absolute; left : 50%; margin-left : -502px;
	margin-top: 235px;
	left: 50%;
	margin-left: -502px;
}

.articleButtom {
	width: 900px;
	height: auto;
	border: 0px solid red;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
	color: #000000;
	font-size: 14px;
	margin-top: 20px;
	font-family: "\5FAE\8F6F\96C5\9ED1";
}
.webInfo{
	width:100%;
	height:140px;
	border:0px solid red;
	margin-top:60px;
}

.articleLinks {
	width: 100%;
	height: 245px;
	border: 1px solid #267FC1;
	margin-top: 10px;
}
</style>
</head>
<body>

	<div style="width:975px;margin:0 auto;min-height:600px">
		<div class="head">
		<p class="title_top"><a style="float:none" href="/">首页</a></p>
			<div class="nav">
				<ul class="lavaLamp">
					<li ><a href="/index/rendPage?type=index&modelId=3">产品下载</a></li>
					<!--<li><a href="news.html">企业动态</a></li>-->
					<li class="current-cat"><a href="/index/code/rendPage?page=1&rows=10">源码教学</a></li>
				</ul>
			</div>	
		</div>
	
		<div class="cont" style="">
			<div style='width:100%;height:auto'>
			<div style='border: 1px solid #EEEEEE;padding: 10px'>
				<div class='articleTitle' style='text-align: center'>${code.title}</div>
				<div class='articleDate'>
					<fmt:formatDate value="${code.createDate }"
						pattern="yyyy-MM-dd HH:mm:ss" />
				</div>
				<div class='articleContent'>${code.value }	</div>
				<div class='articleButtom'>作者:${code.author }&nbsp;&nbsp;</div>
			</div>	
			
			</div>
		</div>
	</div>
	
    
  	<jsp:include page="footer.jsp" />
 
    
</body>
</html>
 